
#ifndef __HOMEPAGE_H
#define __HOMEPAGE_H


#ifdef __cplusplus
extern "C" {
#endif


typedef struct 
{
    lv_style_t screenstyle;
    lv_style_t data_style;
    lv_style_t time_label;
    lv_style_t wifi_label;
}Hometstyles;

typedef struct 
{
   uint8_t entry_flag;
   uint8_t fsm;
}Hometdata;

typedef struct 
{
    lv_obj_t *screen;
    lv_obj_t *time_label;
    lv_obj_t *wifi;
}HometResource;

typedef struct 
{
    HometResource resources;
    Hometstyles styles;
    Hometdata data;
}HometHandle;

extern uint32_t showHomePage_Process(uint32_t arg);
extern uint32_t showHomePage_Entry(uint32_t arg);
extern uint32_t showHomePage_Exit(uint32_t arg);

#ifdef __cplusplus
}
#endif
#endif